<template>
	<view>
		<view class="top-bar" :style="{height:topBarHeight,lineHeight:topBarHeight}">
			<view class="phone">
				{{phone}}
			</view>
			<view class="log-out">

			</view>
		</view>
		<wrap>
			<div class="card orange" @click="toPages('../addStudent/addStudent')">
				<van-icon class="card-icon" name="manager-o" size="130rpx" custom-class="icon" />
				<div class="card-info">
					<h3 class="tit">新增意向学员</h3>
					<p class="msg"></p>
				</div>
			</div>
		</wrap>
		<wrap>
			<div class="card blue" @click="toPages('../studentList/studentList')">
				<van-icon class="card-icon" name="notes-o" size="130rpx" custom-class="icon" />
				<div class="card-info">
					<h3 class="tit">查看添加历史</h3>
					<p class="msg"></p>
				</div>
			</div>
		</wrap>
		<van-notify id="van-notify" />
		<van-toast id="van-toast"></van-toast>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				phone: "13641009512",
				topBarHeight: getApp().globalData.navigationBarHeight + "px"
			};
		},
		methods: {
			toPages(url) {
				uni.navigateTo({
					url
				})
			}
		},

	}
</script>

<style lang="scss">
	@import "./index.scss"
</style>
